//
//  TrainingBaseCell.swift
//  DaRings
//
//  Created by 尹琼 on 2022/11/18.
//

import UIKit
import MYModule

open class TrainingDetailBaseCell: TableViewCell {

    public let bgView = View()
     
     open override func makeUI() {
         super.makeUI()
         
         contentView.backgroundColor =  UIColor.darkBackground
         bgView.backgroundColor = UIColor.background
         bgView.cornerRadius = 18.0
         
         contentView.addSubview(bgView)
         
         bgView.snp.makeConstraints { make in
             make.top.left.right.equalToSuperview()
             make.bottom.equalToSuperview().offset(-20)
         }
     }
    
}
